//
//  NSDictionaryCategory.h
//  ubixar-utils
//
//  Created by Demis Bellot on 17/04/2009.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

//NSDictionary_CocoaDevUsersAdditions.h

#import <Foundation/Foundation.h>

@interface NSDictionary(NSDictionaryCategory)

-(NSDictionary *)dictionaryBySettingObject:(id)object forKey:(id<NSCopying>)key;
-(NSDictionary *)dictionaryBySettingObjects:(NSArray *)someObjects forKeys:(NSArray *)keys;
-(NSDictionary *)dictionaryByAddingEntriesFromDictionary:(NSDictionary *)otherDictionary;

-(BOOL) boolForKey: (id) aKey;
-(int) intForKey: (id) aKey;
-(BOOL) hasKey: (id) aKey;

-(NSArray *)allObjectsSortedByKeySelector:(SEL)sortSelector;

// Requires NSArrayCategory
- (NSDictionary *)resultsOfMakeObjectsPerformSelector:(SEL)selector;
- (NSDictionary *)resultsOfMakeObjectsPerformSelector:(SEL)selector withObject:(id)object;
@end